package com.crl.module.chat.model
{
	
	/**
	 * 聊天文本相应着色信息类，主要于通道内部使用. 
	 * @author crl
	 * 
	 */	
	public class ChatText
	{
		public var channel:int;
		
		/**
		 * 说话人guid 及说话者名称; 
		 */		
		public var fromGUID:String;
		public var fromName:String;
		
		/**
		 * 说话指向者guid,及名称; 
		 */		
		public var toGUID:String;
		public var toName:String;
		
		/**
		 * 通道颜色值; 
		 */		
		public var channelColor:int;
		
		/**
		 * 
		 */		
		public var fromColor:int;
		public var toColor:int;
		
		public var message:String;
		public var messageColor:int;
		
		
		private var propertys:Array;
		public function ChatText(
								channel:int,
								channelColor:int,
								fromGUID:String,
								fromName:String,
								fromColor:int,
								
								toGUID:String,
								toName:String,
								toColor:int,
								message:String,
								messageColor:int
								)
		{
			this.channel=channel;
			this.channelColor=channelColor;
			
			this.fromGUID=fromGUID;
			this.fromName=fromName;
			this.fromColor=fromColor;
			
			this.toGUID=toGUID;
			this.toName=toName;
			this.toColor=toColor;
			
			this.message=message;
			this.messageColor=messageColor;
		}
		
		
		
	}
}